//
//  AirportHttpService.swift
//  CitySearch
//
//  Created by guotonglin on 2020/6/2.
//  Copyright © 2020 guotonglin. All rights reserved.
//

import Foundation
import Alamofire

class AirportHttpService: HttpService {
    func request(_ urlRequest: URLRequestConvertible) -> DataRequest {
        return AF.request(urlRequest).validate(statusCode: 200..<400)
    }
}
